package com.It;

public class StudentDemo {
    public static void main(String[] args) {
        //无参构造
        Student s1 = new Student();
        s1.setName("张三");
        s1.setAge(30);
        s1.show();
        //含参构造
        Student s2 = new Student("李四",30);
        s2.show();
    }
}
